package com.yiren.manager.form.elder;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.manager.utils.CustomJsonDateDeserializer;


public class YrBehalfMaterialForm implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private String behalfMaterialId;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderId;

	private String materialId;

	private Integer payWay;

	private Integer quantity;

	private String subjectRoomId;

	private Float totalRent;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	private String beHospitalId;
	
	public String getBeHospitalId() {
		return beHospitalId;
	}

	public void setBeHospitalId(String beHospitalId) {
		this.beHospitalId = beHospitalId;
	}

	public YrBehalfMaterialForm() {
	}

	public String getBehalfMaterialId() {
		return this.behalfMaterialId;
	}

	public void setBehalfMaterialId(String behalfMaterialId) {
		this.behalfMaterialId = behalfMaterialId;
	}

	public String getCreateId() {
		return this.createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderId() {
		return this.elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getMaterialId() {
		return this.materialId;
	}

	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}

	public Integer getPayWay() {
		return this.payWay;
	}

	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public String getSubjectRoomId() {
		return this.subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public Float getTotalRent() {
		return this.totalRent;
	}

	public void setTotalRent(Float totalRent) {
		this.totalRent = totalRent;
	}

	public String getUpdateId() {
		return this.updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}